Using the Palette Manager
Using the Palette Manager
The Palette Manager is extremely versatile, and your application can use
it to obtain an additional level of color control. The Palette Manager can
selectively apply QuickDraw, Color Manager, and
Graphics Devices Manager routines, thereby giving you color control
across windows and devices.
Working With Color Usage Categories
You define the usage category for each color in a palette, using these constants:
pmCourteous courteous color
pmTolerant tolerant color
pmAnimated animated color
pmExplicit explicit color
pmWhite use on 1-bit device
pmBlack use on 1-bit device
pmInhibitG2 inhibit on 2-bit gray-scale device
pmInhibitC2 inhibit on 2-bit color device
pmInhibitG4 inhibit on 4-bit gray-scale device
pmInhibitC4 inhibit on 4-bit color device
pmInhibitG8 inhibit on 8-bit gray-scale device
pmInhibitC8 inhibit on 8-bit color device
Effective use of the Palette Manager requires a considered assignment of
usage categories for the colors of your palette.